package com.efounder.form.model;

/**
 * Created by cherise on 2017/3/9.
 */

public class CompanyModel {
    private String F_BH;
    private String F_MC;

    public String getF_BH() {
        return F_BH;
    }

    public void setF_BH(String f_BH) {
        F_BH = f_BH;
    }

    public String getF_MC() {
        return F_MC;
    }

    public void setF_MC(String f_MC) {
        F_MC = f_MC;
    }


    @Override
    public boolean equals(Object obj) {
        if (obj == null)
            return false;
        if (this == obj)
            return true;
        if (obj instanceof CompanyModel) {
            CompanyModel item = (CompanyModel) obj;
            if (item.getF_BH().equals(this.getF_BH())
                    && item.getF_MC().equals(this.getF_MC()))
                return true;
        }
        return false;
    }

    @Override
    public int hashCode() {

        return getF_BH().hashCode();
    }
}
